package com.beehoo.dcportal.admin.service;

import java.util.List;

import com.beehoo.dcportal.common.base.BaseException;
import com.beehoo.dcportal.model.FunctionBean;
import com.beehoo.dcportal.model.WorkerBean;

public interface WorkerService {

	/**
	 * 根据用户名和密码查询社工
	 * @param loginName
	 * @param password
	 * @return
	 * @throws BaseException
	 */
	public WorkerBean queryUserByNP(String loginName, String password)
			throws BaseException;
	
	/**
	 * 查询功能菜单
	 * @param roleId
	 * @return
	 * @throws BaseException
	 */
	public List<FunctionBean> queryFunction(String roleId) throws BaseException;
}
